import { put, get } from '@/security/request'
import { Application_Form } from '@/utils/keyWord'

export function getPageApi(data: any): Promise<IPageResult<any>> {
    return get("/admin/common/user/page",  data);
}

export function getOneApi(data: any): Promise<IRespResult<any>> {
    return get("/admin/common/user/getOne",  data, Application_Form);
}

export function synToYunXinApi(data: any): Promise<IRespResult<any>> {
    return put("/admin/common/user/syn/toYunXin",  data, Application_Form);
}
